package com.team1.manager.teacher.entity;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;

import com.team1.manager.classes.entity.Classes;
import com.team1.manager.role.entity.Role;
import com.team1.manager.school.entity.School;
/**
 * 老师
 * @author yzy
 *
 */
public class Teacher implements Serializable {
	private String id;
	private String name;//名称
	
	private School school;//所属的校区
	private Set<Classes> classes = new HashSet<Classes>();//所带的班级
	private Role role;//老师的角色
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public School getSchool() {
		return school;
	}
	public void setSchool(School school) {
		this.school = school;
	}
	public Set<Classes> getClasses() {
		return classes;
	}
	public void setClasses(Set<Classes> classes) {
		this.classes = classes;
	}
	public Role getRole() {
		return role;
	}
	public void setRole(Role role) {
		this.role = role;
	}
	
}
